<?php
namespace app\common\extract;

abstract class Extract
{
    protected $_file = null;

    protected $_words = array();
    /**
     * 获取热词数组
     */
    abstract protected function getArray();

    /**
     * 
     */
    public function setFile($file)
    {
        $this->_file = $file;
        return $this;
    }
}